package com.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.demo.common.model.BaseQuery;
import com.demo.config.annotation.DataScope;
import com.demo.entity.Customer;
import com.demo.vo.CustomerVo;

import java.util.List;

public interface CustomerMapper extends BaseMapper<Customer> {
    @DataScope(tableAlias = "tc",tableField = "owner_id")
    List<CustomerVo> queryCustomerListPage(BaseQuery baseQuery);
}